home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / Target Acquisition Manager / Source / source / CAppearanceApp.h < prev    next >
Encoding:
Text File  |  1999-06-25  |  1.2 KB  |  40 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    CAppearanceApp.h            ©1994-1998 Metrowerks Inc. All rights reserved.
  3. // ===========================================================================
  4.  
  5. #pragma once
  6.  
  7. #include <PP_Prefix.h>
  8. #include <LApplication.h>
  9. #include <LListener.h>
  10. #include <LPeriodical.h>
  11.  
  12.  
  13. class    CAppearanceApp : public PP_PowerPlant::LApplication, PP_PowerPlant::LListener, 
  14.                                 PP_PowerPlant::LPeriodical
  15. {
  16. public:
  17.                             CAppearanceApp();    // constructor registers PPobs
  18.         virtual             ~CAppearanceApp();    // stub destructor
  19.     
  20.     
  21.         // this overriding method handles application commands
  22.         virtual Boolean        ObeyCommand(PP_PowerPlant::CommandT inCommand, void* ioParam);    
  23.     
  24.     
  25.         // this overriding method returns the status of menu items
  26.         virtual void        FindCommandStatus(PP_PowerPlant::CommandT inCommand,
  27.                                     Boolean &outEnabled, Boolean &outUsesMark,
  28.                                     PP_PowerPlant::Char16 &outMark, Str255 outName);
  29.  
  30.         virtual void        ListenToMessage(
  31.                                 MessageT        inMessage,
  32.                                 void*            ioParam);
  33.                             
  34.         virtual    void        SpendTime(
  35.                                 const EventRecord&        inMacEvent);
  36. protected:
  37.  
  38.         virtual void        StartUp();            // override startup functions
  39.  
  40. };